<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>计算器</title>
    <style>

    </style>
</head>
<body>
    <p>整数1：<input type="text" id="num1"></p>
    <p>整数2：<input type="text" id="num2"></p>
    <button onclick="deshu('jia')">相加</button>
    <button onclick="deshu('jian')">相减</button>
    <button onclick="deshu('cheng')">相乘</button>
    <button onclick="deshu('chu')">相除</button>
    <p>结果：<input type="text" id="new"></p>


<script src="js/script.js"></script>
</body>
</html>